package com.chy.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class UserInfo extends BaseEntity implements Serializable {
    @TableId(value = "user_id")
    private Long id;

    private String name;

    private String sex;

    private String avatar;

    private String backImg;

    private String description;

    private String email;

    private String tel;

//    private Integer deleted;

    private String address;

//    @TableField(fill = FieldFill.INSERT)
//    private LocalDateTime createTime;
//
//    @TableField(fill = FieldFill.INSERT_UPDATE)
//    private LocalDateTime updateTime;
}
